const webpack = require('webpack');
const commonConfig = require('./common.config');
const { merge } = require('webpack-merge');

module.exports = merge(commonConfig, {
  mode: 'development',
  devtool: 'inline-source-map',
  devServer: {
    historyApiFallback: true,
    static: './dist',
    open: true,
    compress: true,
    hot: true,
    port: 8080,
  },
});
